//
//  TLocationCell.m
//  Btpin
//
//  Created by Vic on 2019/4/24.
//  Copyright © 2019 Vic. All rights reserved.
//

#import "TLocationCell.h"

@implementation TLocationCellData
@end

@implementation TLocationCell

- (CGFloat)getHeight:(TLocationCellData *)data {
    CGFloat height = 100*Scale + 2 * 5 + 2 * 8;
    return height;
}
- (void)setData:(TLocationCellData *)data {
//    self.bgView
    
}
- (void)setupViews {
    self.backgroundColor = [UIColor clearColor];
    
    self.bgView = [[UILabel alloc] initWithFrame:CGRectMake(40*Scale, 8, WIDTH-80*Scale, 100*Scale + 2 * 5 + 2 * 8)];
    self.bgView.layer.cornerRadius = 3;
    [self.bgView.layer setMasksToBounds:YES];
    [self addSubview:self.bgView];
    self.selectionStyle = UITableViewCellSelectionStyleNone;
}

- (void)awakeFromNib {
    [super awakeFromNib];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
}

@end
